﻿using Microsoft.VisualStudio.TestTools.WebTesting;
using Microsoft.VisualStudio.TestTools.WebTesting.Rules;
using QA.TFS.Utils;

namespace QA.TFS.Rules.Extraction
{
    public class ExtractFormFieldExtended : ExtractFormField
    {

        public override void Extract(object sender, ExtractionEventArgs e)
        {
            base.ContextParameterName = ContextParameterHelper.replaceContextParameters(e.WebTest.Context, base.ContextParameterName);

            base.Extract(sender, e);
        }
    }
}
